Dependence aware tests for ppc*ecdf#428
Open
florence-bockting wants to merge 152 commits intostan-dev:masterfrom
Open
Dependence aware tests for ppc*ecdf#428florence-bockting wants to merge 152 commits intostan-dev:masterfrom
ppc*ecdf#428florence-bockting wants to merge 152 commits intostan-dev:masterfrom
Conversation
…improve input validation checks
…of local implementation
…e-bockting/bayesplot into dependence-aware-LOO-PIT
…e-bockting/bayesplot into dependence-aware-LOO-PIT
ppc_loo_pit_ecdfppc_*_ecdf
ppc_*_ecdfppc*ecdf
Author
|
As mentioned in the PR introduction text, the idea would be migration in multiple stages. Informing the user in the first stage is currently implemented as follows: |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The current approach in
ppc_loo_pit_ecdfandppc_pit_ecdfassumes independence of LOO-PIT values which is not valid (Marhunenda et al., 2005). The corresponding graphical test yields an envelope that is too wide, reducing the test's ability to reveal model miscalibration.Tesso & Vehtari (2026, see preprint) propose three testing procedures that can handle any dependent uniform values and provide an updated graphical representation that uses color coding to indicate influential regions or most influential points of the ECDF. This PR implements the new development, by adding the updated approach (method = "correlated") additionally to the previous approach (method = "independent").
TODOs
ppc_loo_pit_ecdf()function inppc-loo.Rppc_pit_ecdf()andppc_pit_ecdf_grouped()function inppc-distributions.Rmethodargumentmethodargument